package net.cyndeline.rlgraph.orthogonal.drawing

/**
 * A single edge in an orthogonal drawing.
 */
class DrawnEdge[VType](val start: VType,
                       val stop: VType,
                       val startPos: (Int, Int),
                       val stopPos: (Int, Int),
                       val bends: List[(Int, Int)]) {

  def this(start: VType, stop: VType, startPos: (Int, Int), stopPos: (Int, Int)) = this(start, stop, startPos, stopPos, Nil)
}
